package com.geovis.emergency.spd.entity.system.pojo.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.Set;


/**
 * <p>
 *  角色资源信息查询DTO
 * </p>
 *
 * @author 王响
 * @since 2022-04-16
 */
@Getter
@Setter
@Accessors(chain = true)
@ToString(callSuper = true)
@ApiModel(value = "SystemRoleResourcesQueryDTO", description = "角色资源信息查询DTO")
public class SystemRoleResourcesQueryDTO implements Serializable {

    @ApiModelProperty(value = "角色id")
    @Length(max = 64, message = "角色id最长不能超过{64}个字符")
    private String roleId;

    @ApiModelProperty(value = "资源类型数组")
    private Set<String> resourceTypeList;

}
